<template>
  <div class="game-container animate__animated animate__fadeIn">
    <div class="header">
      <nav-header />
      <div class="mask"></div>
    </div>
    <div class="content">
      <div class="gameSwiper">
        <game-swiper />
      </div>
      <div class="Allgame">
        <game-list />
      </div>
    </div>
    <my-footer />
    <back-top />
  </div>
</template>

<script setup>
import navHeader from "@/components/public/navHeader.vue";
import gameSwiper from "./components/gameSwiper.vue";
import gameList from "./components/gameList.vue";
import backTop from "@/components/public/backTop.vue";
import myFooter from "@/components/public/myFooter.vue";
</script>

<style scoped lang="less">
.game-container {
  .header {
    width: 100vw;
    height: 100px;
    background: url(../../assets/image/bg2.jpg) no-repeat center center;

    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.4);
    .mask {
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
    }
  }
  .content {
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    .gameSwiper {
      width: 1200px;
      height: 525px;
      box-shadow: 0px 0px 10px 0px rgb(218 207 204 / 60%);
      border-radius: 10px;
      margin-top: 50px;
    }
  }
}
</style>
